//
//  LSZStreetTableViewCell.m
//  JKFuYinProject
//
//  Created by 九酷 on 2018/8/29.
//  Copyright © 2018年 LC. All rights reserved.
//

#import "LSZStreetTableViewCell.h"

@implementation LSZStreetTableViewCell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        CGFloat height = [LSZSpecialPackaging initWithReturnsthesizeOf:18 :2];
        self.labelType = [[UILabel alloc]init];
        self.labelType.text = @"详细地址";
        self.labelType.textColor = titleColorLSZ;
        [LSZSpecialPackaging setLabelAdaptiveSize:self.labelType font:13.5];
        [self addSubview:self.labelType];
        CGFloat A;
        if (ScreenWidth == 320) {
            A = 13;
        }else if(ScreenWidth == 375){
            A = 13.5;
        }else {
            A = 14;
        }
        CGFloat width = [LSZSpecialPackaging caculateWidthOfText:ScreenWidth height:height font:A :self.labelType.text]-10;
        self.labelType.frame = CGRectMake(10, (90-height)/2, width, height);


        self.textViewCont = [[UITextView alloc]initWithFrame:CGRectMake(CGRectGetMaxX(self.labelType.frame), 10, ScreenWidth-10- CGRectGetMaxX(self.labelType.frame), 100)];
        self.textViewCont.font = FONT_(13.5);
        [self addSubview:self.textViewCont];
    }
    return self;
}

@end
